package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> selectByPage(int currentPage, int pageSize);

    Integer selectTotalCount();

    int add(User user);

    int deleteById(Integer id);

    int update(User user);

}
